package com.bluegalaxy.sitescore.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 
 *
 */
@TableName(value = "tb_user")
public class TbUser implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 用户ID */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/** 用户名称 */
	private String username;

	/** 用户密码 */
	private String password;

	/** 用户手机 */
	private String mobile;

	/** 用户邮箱 */
	private String email;

	/** 0、普通用户 1、管理员 */
	private Long type;

	/** 0、禁用 1、正常 */
	private Integer status;

	/** 组织ID */
	@TableField(value = "organize_id")
	private Integer organize_id;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date create_time;

	/** 修改时间 */
	@TableField(value = "update_time")
	private Date update_time;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Long getType() {
		return type;
	}

	public void setType(Long type) {
		this.type = type;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getOrganize_id() {
		return this.organize_id;
	}

	public void setOrganize_id(Integer organize_id) {
		this.organize_id = organize_id;
	}

	public Date getCreate_time() {
		return this.create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Date getUpdate_time() {
		return this.update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

}
